//
//  BaseVC.h
//  blocklyios
//
//  Created by steward on 2018/11/5.
//  Copyright © 2018 szltech. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BabyBluetooth.h"
#import "ReactiveCocoa.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseVC : UIViewController
@property(strong, nonatomic)BabyBluetooth *baby;
@property(strong, nonatomic)CBPeripheral *mPeripheral;
@property(strong, nonatomic)CBCharacteristic *writeCharacteristic;
-(void)initBlueTooth;
-(void)scanDevices;
-(void)connectDevice;
-(void)writeDataToDevice: (NSString *)str;
@end

NS_ASSUME_NONNULL_END
